package dataFromXml;

import org.dom4j.Element;

public class Join {
	
	Element jNode;
	String joinType;
	String tableNames;
	String joinAttr;
	
	public Join(Element self) {
		jNode = self;
		joinType = null;
		tableNames = null;
		joinAttr = null;
	}
	
	public Join(String type, String tables, String attributes) {
		joinType = type;
		tableNames = tables;
		joinAttr = attributes;
	}
	
	public void setJoinType(String type) {
		joinType = type;
	}
	
	public void setTableNames(String tables) {
		tableNames = tables;
	}
	
	public void setJoinAttr(String attributes) {
		joinAttr = attributes;
	}
	
	public String getJoinType() {
		return joinType;
	}
	
	public String getTableNames() {
		return tableNames;
	}
	
	public String getJoinAttr() {
		return joinAttr;
	}
	
	public Element getElement() {
		return jNode;
	}
}
